package com.nq.activaity.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 用户中奖发货表
 * @Author: jeecg-boot
 * @Date:   2024-11-05
 * @Version: V1.0
 */
@Data
@TableName("st_mbr_lottery_prize_shipment")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StMbrLotteryPrizeShipment implements Serializable {
    private static final long serialVersionUID = 1L;

	// 待发货
	public static final String STATE_0 = "0";
	// 已发货
	public static final String STATE_1 = "1";

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    private String id;
	/**中奖ID*/
	@Excel(name = "中奖ID", width = 15)
    private Integer lotteryPrizeId;
	/**邮寄单号*/
	@Excel(name = "邮寄单号", width = 15)
    private String postNo;
	/**邮寄公司*/
	@Excel(name = "邮寄公司", width = 15)
    private String postCompany;
	/**状态　０　代发货　１　已发货*/
	@Excel(name = "状态　０　代发货　１　已发货", width = 15)
    private String state;
	/**发货时间*/
	@Excel(name = "发货时间", width = 15, format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date shipmentTime;
	/**用户ID*/
	@Excel(name = "用户ID", width = 15)
    private Integer userId;
	/**用户收货地址ID*/
	@Excel(name = "用户收货地址ID", width = 15)
    private String addressId;
	/**是否删除 0 正常 1 删除*/
	@Excel(name = "是否删除 0 正常 1 删除", width = 15)
    private Integer delFlag;
	/**备注*/
	@Excel(name = "备注", width = 15)
    private String remark;
}
